package com.shuziren.question.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;
import java.util.List;

/**
 * 题目集实体类
 */
@Data
@TableName("interview_question_set")
public class InterviewQuestionSet {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String name;
    private Integer status;//状态
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdAt;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatedAt;
    private Integer position;
    private Integer questionCount;
    private Integer difficulty;
    private Integer score;
    @TableField(exist = false)
    private List<Integer> questions;
}